page {
  background: #F5F5F5;
  height: 100%;
}

.container {
  height: auto;
  padding-bottom: 150rpx;
}

swiper {
  height: 750rpx;
  width: 100%;
  background: #FFFFFF;
  border-radius: 0rpx 0rpx 16rpx 16rpx;
}

swiper image {
  height: 750rpx;
  width: 100%;
}

/** 商品信息 */

.prod-info {
  width: 682rpx;
  height: auto;
  margin: 21rpx auto;
  position: relative;
  background: #fff;
  border-radius: 8rpx;
  display: flex;
  justify-content: space-between;
}

.prod-info .prod-info-left {
  width: 500rpx;
  margin: 20rpx;
  display: flex;
  flex-direction: column;
}

.prod-info-left .prod-tit {
  flex: 1;
  height: auto;
  font-size: 32rpx;
  font-weight: 600;
  color: #1D2541;
  line-height: 45rpx;
  margin: 10rpx;
}

.prod-info-left .sales-p {
  margin: 10rpx;
  flex: 1;
  height: auto;
  font-size: 24rpx;
  font-weight: 400;
  color: #999;
  line-height: 33rpx;
}

.prod-info-left .prod-price {
  flex: 1;
  font-size: 30rpx;
  height: 80rpx;
  line-height: 80rpx;
}

.price {
  height: 42rpx;
  font-size: 28rpx;
  font-weight: 600;
  color: #EA544C;
  line-height: 40rpx;
}

.price-num {
  font-size: 46rpx;
  font-weight: 400;
}

.ori-price {
  height: 41rpx;
  font-size: 28rpx;
  font-weight: 400;
  color: #999999;
  line-height: 40rpx;
  text-decoration: line-through;
  margin-left: 20rpx;
}


.prod-info .prod-info-right {
  width: 145rpx;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.prod-info-right .share {
  width: 48rpx;
  height: 74rpx;
  font-size: 24rpx;
  font-weight: 400;
  color: #333333;
}

.prod-info-right .share image {
  display: block;
  margin: auto;
  width: 32rpx;
  height: 32rpx;
}

.prod-info-right .col {
  margin-right: 20rpx;
  width: 48rpx;
  height: 74rpx;
  font-size: 24rpx;
  font-weight: 400;
  color: #333333;
  line-height: 33rpx;
}

.prod-info-right .col image {
  display: block;
  margin: auto;
  width: 32rpx;
  height: 32rpx;
}

/** end 商品信息 */


/* 已选 */

.sku {
  width: 682rpx;
  height: 90rpx;
  background: #fff;
  margin: 21rpx auto;
  position: relative;
  line-height: 48rpx;
  border-radius: 8rpx;
}

.sku .sku-tit {
  position: absolute;
  width: 56rpx;
  height: 40rpx;
  left: 27rpx;
  font-size: 28rpx;
  font-weight: 400;
  top: 25rpx;
  color: #1D2541FF;
}

.sku .sku-con {
  position: absolute;
  height: 40rpx;
  line-height: 40rpx;
  right: 65rpx;
  font-size: 28rpx;
  font-weight: 600;
  top: 25rpx;
  color: #1D2541FF;
}

.sku .more {
  position: absolute;
  top: 33rpx;
  right: 16rpx;
  width: 14rpx;
  height: 25rpx;
}

/** 评价*/
.cmt-wrap {
  width: 682rpx;
  background: #fff;
  position: relative;
  margin: 28rpx auto;
  border-radius: 8rpx;
  padding-top: 16rpx;
}

.cmt-wrap .cmt-header {
  width: 100%;
  height: 42rpx;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cmt-wrap .cmt-header .title::before {
  height: 25rpx;
  width: 8rpx;
  content: "";
  display: inline-block;
  background: #FF4133;
  border-radius: 4rpx;
  margin-right: 19rpx;
}

.cmt-wrap .cmt-header .title {
  height: 42rpx;
  font-size: 30rpx;
  font-weight: 500;
  color: #1D2541;
  line-height: 42rpx;
}

.cmt-wrap .cmt-header .rate {
  height: 33rpx;
  font-size: 24rpx;
  font-weight: 400;
  color: #1D2541;
  line-height: 33rpx;
  margin-right: 21rpx;
}

.cmt-wrap .no-cmt-container {
  width: 100%;
  height: auto;
  margin-top: 54rpx;
  text-align: center;
}

.cmt-wrap .no-cmt-container .no-cmt-image {
  width: 372rpx;
  height: 372rpx;
}

.cmt-wrap .no-cmt-container .no-cmt-text {
  font-size: 24rpx;
  text-align: center;
  font-weight: 400;
  color: #1D2541;
  line-height: 33rpx;
  height: 73rpx;
}


.cmt-cont {
  padding: 0 20rpx;
}

.cmt-tag {
  position: relative;
  padding: 14px 3px 0 0;
  margin: 0;
}

.cmt-tag text {
  margin: 0 10px 10px 0;
  background: #fdf0f0;
  display: inline-block;
  padding: 0 10px;
  height: 25px;
  border-radius: 3px;
  line-height: 25px;
  font-size: 12px;
  font-family: -apple-system, Helvetica, sans-serif;
  color: #666;
}

.cmt-tag text.selected {
  color: #fff;
  background: #e93b3d;
}

.cmt-item {
  position: relative;
  padding: 10px 0;
}

.cmt-items .empty {
  display: block;
  font-size: 24rpx;
  text-align: center;
  color: #aaa;
  margin-top: 5vh;
}

.cmt-user {
  line-height: 25px;
  margin-bottom: 8px;
  font-size: 12px;
}

.cmt-user-info {
  display: flex;
  align-items: center;
  width: 400rpx;
}

.cmt-user .user-img {
  width: 58rpx;
  height: 58rpx;
  border-radius: 50%;
  vertical-align: middle;
}

.cmt-user .nickname {
  margin-left: 17rpx;
  height: 42rpx;
  font-size: 30rpx;
  font-weight: 600;
  color: #1D2541;
  line-height: 42rpx;
}

.cmt-cnt {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  position: relative;
  font-size: 24rpx;
  margin: 20rpx 0;
  word-break: break-all;
}

.cmt-attr {
  height: 85px;
  width: 100%;
  white-space: nowrap;
}

.cmt-attr .img-wrap {
  width: 85px;
  height: 85px;
  display: inline-block;
}

.cmt-attr image {
  display: inline-block;
  width: 80px;
  height: 80px;
  margin-right: 5px;
  margin-bottom: 5px;
  border-radius: 2px;
  background: #f3f3f3;
}

.cmt-more-v {
  text-align: center;
  background-color: #fff;
  font-size: 12px;
}

.cmt-more-v text {
  height: 25px;
  line-height: 25px;
  font-size: 12px;
  text-align: center;
  color: #333;
  padding: 0px 10px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 40px;
  display: inline-block;
}

/** 评价弹窗 */

.cmt-popup {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 998;
  background-color: #fff;
  padding-bottom: 98rpx;
}

.cmt-popup .cmt-tit {
  margin-left: 16rpx;
  margin-top: 16rpx;
  height: 42rpx;
  font-size: 30rpx;
  font-weight: 600;
  color: #1D2541;
  line-height: 42rpx;
}

.cmt-popup .cmt-cont {
  height: calc(100% - 80rpx);
  overflow: auto;
}

.cmt-popup .cmt-cnt {
  -webkit-line-clamp: 20;
  max-height: 500px;
}

.cmt-reply {
  font-size: 14px;
  border-top: 1px dashed #ddd;
  padding: 5px 0;
}

.cmt-reply .reply-tit {
  color: #eb2444;
}

.cmt-popup .load-more {
  font-size: 14px;
  padding: 20px;
  text-align: center;
  margin-bottom: 10px;
}

.cmt-popup .load-more text {
  border: 1px solid #ddd;
  padding: 5px 10px;
  border-radius: 10px;
  color: #666;
}

/** 商品详情 */

.prod-detail {
  background: #fff;
  margin-top: 20rpx;
  width: 682rpx;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  line-height: 48rpx;
}

.prod-detail .detail-title::before {
  height: 25rpx;
  width: 8rpx;
  content: "";
  display: inline-block;
  background: #FF4133;
  border-radius: 4rpx;
  margin-right: 19rpx;
}

.prod-detail .detail-title {
  height: 42rpx;
  font-size: 30rpx;
  font-weight: 500;
  color: #1D2541;
  line-height: 42rpx;
  margin-bottom: 27rpx;
  padding-top: 16rpx;;
}

rich-text image {
  width: 100% !important;
}

/** end 商品详情 */

/** 底部按钮 */

.cart-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  flex-direction: row nowrap;
  height: 128rpx;
  z-index: 999;
  box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.05);
}

.cart-footer .home {
  position: absolute;
  left: 23rpx;
  top: 24rpx;
  width: 48rpx;
  height: 80rpx;
  font-size: 20rpx;
  color: #666;
}

.cart-footer .home image {
  width: 48rpx;
  height: 48rpx;
}

.cart-footer .basket {
  position: absolute;
  left: 138rpx;
  top: 24rpx;
  width: 80rpx;
  height: 80rpx;
}

.cart-footer .basket text {
  display: block;
  font-size: 20rpx;
  color: #666;
}

.cart-footer .basket image {
  display: block;
  width: 48rpx;
  height: 48rpx;
}

.cart-footer .cart {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  left: 308rpx;
  top: 24rpx;
  width: 190rpx;
  height: 70rpx;
  background: #FFFFFF;
  border-radius: 35rpx;
  border: 1rpx solid #FF372B;
}

.cart-footer .cart text {
  width: 140rpx;
  height: 40rpx;
  font-size: 28rpx;
  font-weight: 500;
  color: #FF372B;
  line-height: 40rpx;
}

.cart-footer .buy {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  left: 525rpx;
  top: 24rpx;
  width: 190rpx;
  height: 70rpx;
  background: #FF372B;
  border-radius: 35rpx;
}

.cart-footer .buy text {
  width: 112rpx;
  height: 40rpx;
  font-size: 28rpx;
  font-weight: 500;
  color: #FFFFFF;
  line-height: 40rpx;
}

.cart-footer .basket .badge {
  position: absolute;
  top: 0;
  left: 33rpx;
  display: inline-block;
  width: 28rpx;
  height: 28rpx;
  border-radius: 14rpx;
  background-color: #eb2444;
  text-align: center;
  line-height: 28rpx;
  font-size: 18rpx;
  color: #fff;
}

.cart-footer .btn .badge-1 {
  width: 36rpx;
}

.cart-footer .btn .badge-2 {
  width: 48rpx;
  left: 52rpx;
}

/** end  底部按钮 */

/** 优惠券弹窗 **/

.popup-hide {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background-color: rgba(0, 0, 0, 0.3);
}

.popup-box {
  position: absolute;
  bottom: 0;
  width: 100%;
  min-height: 375px;
  max-height: 475px;
  overflow: hidden;
  background-color: #fff;
}

.popup-tit {
  position: relative;
  height: 46px;
  line-height: 46px;
  padding-left: 10px;
  font-size: 16px;
  color: #333;
  background-color: #f7f7f7;
}

.close {
  color: #aaa;
  border-radius: 12px;
  line-height: 20px;
  text-align: center;
  height: 20px;
  width: 20px;
  font-size: 18px;
  padding: 1px;
  top: 10px;
  right: 10px;
  position: absolute;
}

.close::before {
  content: "\2716";
}

.popup-cnt {
  max-height: 429px;
  overflow: auto;
  padding: 0 10px;
}

/** 规格弹窗**/

.pup-sku {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background-color: rgba(0, 0, 0, 0.3);
}

.pup-sku-main {
  position: absolute;
  bottom: 0;
  width: 100%;
  min-height: 375px;
  max-height: 475px;
  background-color: #fff;
}

.pup-sku-header {
  position: relative;
  line-height: 46px;
  padding-left: 10px;
  font-size: 16px;
  color: #333;
  height: 70px;
  padding: 0 0 10px 110px;
  background-color: #fff;
}

.pup-sku-img {
  position: absolute;
  left: 10px;
  top: -20px;
  border-radius: 2px;
  width: 90px;
  height: 90px;
  border: 0 none;
  vertical-align: top;
}

.pup-sku-price {
  display: inline-block;
  height: 40px;
  line-height: 40px;
  color: #e4393c;
  font-size: 10px;
}

.pup-sku-price-int {
  font-size: 16px;
}

.pup-sku-prop {
  word-break: break-all;
  font-size: 12px;
  color: #333;
  line-height: 1.4em;
  padding-right: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.pup-sku-prop text {
  color: #999;
  margin-right: 5px;
}

.pup-sku-body {
  box-sizing: border-box;
  max-height: 379px;
  padding-bottom: 100px;
  overflow: auto;
}

.pup-sku-area .sku-kind {
  font-size: 12px;
  color: #999;
  margin: 0 10px;
  height: 40px;
  line-height: 40px;
}

.pup-sku-area .sku-choose {
  overflow: hidden;
  margin-bottom: 3px;
}

.sku-choose-item {
  display: inline-block;
  padding: 0 10px;
  min-width: 20px;
  max-width: 270px;
  overflow: hidden;
  height: 30px;
  line-height: 30px;
  text-align: center;
  margin-left: 10px;
  margin-bottom: 10px;
  border-radius: 4px;
  color: #333;
  background-color: #f7f7f7;
  font-size: 14px;
}

.sku-choose-item.active {
  background-color: #eb2444;
  color: #fff;
}

.sku-choose-item.gray {
  background-color: #f9f9f9;
  color: #ddd;
}

.pup-sku-count {
  padding: 0 10px 13px;
  font-size: 12px;
}

.pup-sku-count .count-name {
  color: #999;
  height: 31px;
  line-height: 31px;
  width: 100rpx;
}

.pup-sku-count .num-wrap {
  position: relative;
  z-index: 0;
  width: 110px;
  float: right;
  vertical-align: middle;
  display: flex;
}

.num-wrap .minus, .num-wrap .plus {
  position: relative;
  max-width: 30px;
  min-width: 30px;
  height: 30px;
  line-height: 30px;
  background: #f7f7f7;
  text-align: center;
}

.num-wrap .minus {
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px;
}

.num-wrap .plus {
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
}

.num-wrap .row {
  border-radius: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -7px;
  margin-top: -1px;
  width: 14px;
  height: 2px;
  background-color: #ccc;
}

.num-wrap .col {
  border-radius: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -1px;
  margin-top: -7px;
  width: 2px;
  height: 14px;
  background-color: #999;
}

.pup-sku-count .text-wrap {
  position: relative;
  width: 45px;
  z-index: 0;
  margin: 0 1px;
}

.pup-sku-count .text-wrap input {
  height: 30px;
  width: 100%;
  color: #333;
  background: #fff;
  font-size: 12px;
  text-align: center;
  border: none;
  background: #f7f7f7;
}

.pup-sku-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  flex-direction: row nowrap;
  height: 98rpx;
  z-index: 999;
  box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.05);
}

.pup-sku-footer .btn {
  position: relative;
  display: flex;
  flex-grow: 1;
  justify-content: center;
  align-items: center;
  width: 0;
  background-color: #fff;
  font-size: 28rpx;
  flex-flow: column;
}

.pup-sku-footer .btn.cart {
  background: #584e61;
  color: #fff;
}

.pup-sku-footer .btn.buy {
  background: #eb2444;
  color: #fff;
}
